﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class DateTimeRangeExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class DateTimeRangeExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Dates.DateTimeRangeExtensions">
  
  
  <h1 id="CodeJam_Dates_DateTimeRangeExtensions" data-uid="CodeJam.Dates.DateTimeRangeExtensions" class="text-break">Class DateTimeRangeExtensions
  </h1>
  <div class="markdown level0 summary"><p>Helper methods for date manipulations</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">DateTimeRangeExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Dates.html">CodeJam.Dates</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Dates_DateTimeRangeExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DateTimeRangeExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.CountOfDays(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L75">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfDays*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfDays(CodeJam.Ranges.Range{System.DateTime})">CountOfDays(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns count of days between two dates.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int CountOfDays(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days between two dates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.CountOfDays(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L84">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfDays*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_CountOfDays_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfDays(CodeJam.Ranges.Range{System.DateTimeOffset})">CountOfDays(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns count of days between two dates.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int CountOfDays(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of days between two dates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L89">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths(CodeJam.Ranges.Range{System.DateTime})">CountOfMonths(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns count of month between two dates.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int CountOfMonths(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of month between two dates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L98">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_CountOfMonths_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.CountOfMonths(CodeJam.Ranges.Range{System.DateTimeOffset})">CountOfMonths(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns count of month between two dates.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int CountOfMonths(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Count of month between two dates.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DaysBetween(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L96">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DaysBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DaysBetween(CodeJam.Ranges.Range{System.DateTime})">DaysBetween(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTime&gt; DaysBetween(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>First days of months in range</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DaysBetween(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L105">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DaysBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DaysBetween_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DaysBetween(CodeJam.Ranges.Range{System.DateTimeOffset})">DaysBetween(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTimeOffset&gt; DaysBetween(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>First days of months in range</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L61">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays(CodeJam.Ranges.Range{System.DateTime})">DifferenceInDays(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns delta between two dates measured in days.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DifferenceInDays(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Delta between two dates measured in days.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L70">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInDays_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInDays(CodeJam.Ranges.Range{System.DateTimeOffset})">DifferenceInDays(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns delta between two dates measured in days.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DifferenceInDays(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Delta between two dates measured in days.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L80">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths(CodeJam.Ranges.Range{System.DateTime})">DifferenceInMonths(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns delta between two dates measured in months.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DifferenceInMonths(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Delta between two dates measured in months.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L89">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_DifferenceInMonths_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.DifferenceInMonths(CodeJam.Ranges.Range{System.DateTimeOffset})">DifferenceInMonths(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns delta between two dates measured in months.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int DifferenceInMonths(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Delta between two dates measured in months.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L31">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_System_DateTime_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange(System.DateTime)">GetFromStartOfYearRange(DateTime)</h4>
  <div class="markdown level1 summary"><p>Gets date range from start of the year to the current date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; GetFromStartOfYearRange(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>Date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L40">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetFromStartOfYearRange_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetFromStartOfYearRange(System.DateTimeOffset)">GetFromStartOfYearRange(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Gets date range from start of the year to the current date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; GetFromStartOfYearRange(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>Date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L19">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_System_DateTime_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange(System.DateTime)">GetMonthRange(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns date range for month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; GetMonthRange(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>Date range for month</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L28">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetMonthRange_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetMonthRange(System.DateTimeOffset)">GetMonthRange(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns date range for month.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; GetMonthRange(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>Date range for month</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L37">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_System_DateTime_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange(System.DateTime)">GetToEndOfYearRange(DateTime)</h4>
  <div class="markdown level1 summary"><p>Gets date range from start of the year to the current date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; GetToEndOfYearRange(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>Date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L46">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetToEndOfYearRange_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetToEndOfYearRange(System.DateTimeOffset)">GetToEndOfYearRange(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Gets date range from start of the year to the current date.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; GetToEndOfYearRange(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>Date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_System_DateTime_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetYearRange(System.DateTime)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L25">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_System_DateTime_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetYearRange(System.DateTime)">GetYearRange(DateTime)</h4>
  <div class="markdown level1 summary"><p>Returns date range for year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; GetYearRange(this DateTime date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTime</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>Date range for year</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_System_DateTimeOffset_.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.GetYearRange(System.DateTimeOffset)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L34">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetYearRange*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_GetYearRange_System_DateTimeOffset_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.GetYearRange(System.DateTimeOffset)">GetYearRange(DateTimeOffset)</h4>
  <div class="markdown level1 summary"><p>Returns date range for year.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; GetYearRange(this DateTimeOffset date)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.DateTimeOffset</span></td>
        <td><span class="parametername">date</span></td>
        <td><p>The date.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>Date range for year</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L51">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive(CodeJam.Ranges.Range{System.DateTime})">MakeExclusive(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Replaces inclusive boundaries with exclusive ones.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; MakeExclusive(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>A range with inclusive boundaries.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L60">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MakeExclusive_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeExclusive(CodeJam.Ranges.Range{System.DateTimeOffset})">MakeExclusive(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Replaces inclusive boundaries with exclusive ones.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; MakeExclusive(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>A range with inclusive boundaries.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L45">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive(CodeJam.Ranges.Range{System.DateTime})">MakeInclusive(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Replaces exclusive boundaries with inclusive ones.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTime&gt; MakeInclusive(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>A range with inclusive boundaries.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L54">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MakeInclusive_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MakeInclusive(CodeJam.Ranges.Range{System.DateTimeOffset})">MakeInclusive(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Replaces exclusive boundaries with inclusive ones.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Range&lt;DateTimeOffset&gt; MakeInclusive(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>A range with inclusive boundaries.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L116">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween(CodeJam.Ranges.Range{System.DateTime})">MonthsBetween(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days of months in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTime&gt; MonthsBetween(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>First days of months in range</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L125">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_MonthsBetween_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.MonthsBetween(CodeJam.Ranges.Range{System.DateTimeOffset})">MonthsBetween(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days of months in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTimeOffset&gt; MonthsBetween(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>First days of months in range</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L162">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths(CodeJam.Ranges.Range{System.DateTime})">SplitByMonths(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Splits the range by months.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;Range&lt;DateTime&gt;&gt; SplitByMonths(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;&gt;</td>
        <td><p>Ranges splitted by first day of months in range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L171">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_SplitByMonths_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByMonths(CodeJam.Ranges.Range{System.DateTimeOffset})">SplitByMonths(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Splits the range by months.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;Range&lt;DateTimeOffset&gt;&gt; SplitByMonths(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;&gt;</td>
        <td><p>Ranges splitted by first day of months in range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.SplitByYears(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L184">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByYears*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByYears(CodeJam.Ranges.Range{System.DateTime})">SplitByYears(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Splits the range by years.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;Range&lt;DateTime&gt;&gt; SplitByYears(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;&gt;</td>
        <td><p>Ranges splitted by first day of years in range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.SplitByYears(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L193">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByYears*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_SplitByYears_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.SplitByYears(CodeJam.Ranges.Range{System.DateTimeOffset})">SplitByYears(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Splits the range by years.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;Range&lt;DateTimeOffset&gt;&gt; SplitByYears(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;&gt;</td>
        <td><p>Ranges splitted by first day of years in range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_CodeJam_Ranges_Range_System_DateTime__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.YearsBetween(CodeJam.Ranges.Range%7BSystem.DateTime%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L139">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.YearsBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_CodeJam_Ranges_Range_System_DateTime__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.YearsBetween(CodeJam.Ranges.Range{System.DateTime})">YearsBetween(Range&lt;DateTime&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days of years in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTime&gt; YearsBetween(this Range&lt;DateTime&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTime</span>&gt;</td>
        <td><p>First days of years in range</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_CodeJam_Ranges_Range_System_DateTimeOffset__.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions.YearsBetween(CodeJam.Ranges.Range%7BSystem.DateTimeOffset%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.generated.cs/#L148">View Source</a>
  </span>
  <a id="CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_" data-uid="CodeJam.Dates.DateTimeRangeExtensions.YearsBetween*"></a>
  <h4 id="CodeJam_Dates_DateTimeRangeExtensions_YearsBetween_CodeJam_Ranges_Range_System_DateTimeOffset__" data-uid="CodeJam.Dates.DateTimeRangeExtensions.YearsBetween(CodeJam.Ranges.Range{System.DateTimeOffset})">YearsBetween(Range&lt;DateTimeOffset&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns first days of years in range.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IEnumerable&lt;DateTimeOffset&gt; YearsBetween(this Range&lt;DateTimeOffset&gt; range)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CodeJam.Ranges.Range-1.html">Range</a>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><span class="parametername">range</span></td>
        <td><p>The date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.DateTimeOffset</span>&gt;</td>
        <td><p>First days of years in range</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Dates_DateTimeRangeExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Dates.DateTimeRangeExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Dates/DateTimeRangeExtensions.cs/#L13" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
